<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.7.1" version="1.0">
This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<lib desc="#Wiring" name="0">
    <tool name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="1"/>
      <a name="appear" val="center"/>
    </tool>
    <tool name="Pin">
      <a name="facing" val="south"/>
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
    </tool>
    <tool name="Constant">
      <a name="facing" val="north"/>
      <a name="value" val="0x0"/>
    </tool>
  </lib>
  <lib desc="#Gates" name="1">
    <tool name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
    </tool>
    <tool name="OR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
    </tool>
    <tool name="NAND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="4"/>
    </tool>
    <tool name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </tool>
  </lib>
  <lib desc="#Plexers" name="2"/>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4"/>
  <lib desc="#I/O" name="5"/>
  <lib desc="#Base" name="6">
    <tool name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
  </lib>
  <main name="main"/>
  <options>
    <a name="gateUndefined" val="ignore"/>
    <a name="simlimit" val="1000"/>
    <a name="simrand" val="0"/>
  </options>
  <mappings>
    <tool lib="6" map="Button2" name="Menu Tool"/>
    <tool lib="6" map="Button3" name="Menu Tool"/>
    <tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
  </mappings>
  <toolbar>
    <tool lib="6" name="Poke Tool"/>
    <tool lib="6" name="Edit Tool"/>
    <tool lib="6" name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
    <sep/>
    <tool lib="0" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
    </tool>
    <tool lib="0" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </tool>
    <tool lib="1" name="NOT Gate"/>
    <tool lib="1" name="AND Gate"/>
    <tool lib="1" name="OR Gate"/>
  </toolbar>
  <circuit name="main">
    <a name="circuit" val="main"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(320,290)" to="(380,290)"/>
    <wire from="(240,90)" to="(300,90)"/>
    <wire from="(250,310)" to="(250,320)"/>
    <wire from="(340,80)" to="(390,80)"/>
    <wire from="(260,80)" to="(310,80)"/>
    <wire from="(280,60)" to="(280,70)"/>
    <wire from="(320,180)" to="(320,190)"/>
    <wire from="(290,310)" to="(290,320)"/>
    <wire from="(360,100)" to="(360,110)"/>
    <wire from="(310,170)" to="(310,190)"/>
    <wire from="(300,140)" to="(300,160)"/>
    <wire from="(320,220)" to="(320,240)"/>
    <wire from="(350,90)" to="(350,110)"/>
    <wire from="(260,60)" to="(260,80)"/>
    <wire from="(300,160)" to="(300,190)"/>
    <wire from="(270,310)" to="(270,340)"/>
    <wire from="(340,80)" to="(340,110)"/>
    <wire from="(210,320)" to="(250,320)"/>
    <wire from="(280,70)" to="(320,70)"/>
    <wire from="(290,320)" to="(330,320)"/>
    <wire from="(240,60)" to="(240,90)"/>
    <wire from="(270,180)" to="(270,280)"/>
    <wire from="(280,330)" to="(300,330)"/>
    <wire from="(260,170)" to="(260,280)"/>
    <wire from="(220,60)" to="(220,100)"/>
    <wire from="(320,140)" to="(320,180)"/>
    <wire from="(290,150)" to="(290,190)"/>
    <wire from="(330,70)" to="(330,110)"/>
    <wire from="(340,220)" to="(340,260)"/>
    <wire from="(240,330)" to="(260,330)"/>
    <wire from="(380,200)" to="(390,200)"/>
    <wire from="(360,140)" to="(360,190)"/>
    <wire from="(340,140)" to="(340,190)"/>
    <wire from="(250,160)" to="(250,280)"/>
    <wire from="(350,90)" to="(410,90)"/>
    <wire from="(240,150)" to="(240,280)"/>
    <wire from="(240,330)" to="(240,340)"/>
    <wire from="(270,180)" to="(320,180)"/>
    <wire from="(260,170)" to="(310,170)"/>
    <wire from="(250,160)" to="(300,160)"/>
    <wire from="(240,150)" to="(290,150)"/>
    <wire from="(290,100)" to="(290,110)"/>
    <wire from="(290,140)" to="(290,150)"/>
    <wire from="(310,220)" to="(310,230)"/>
    <wire from="(300,330)" to="(300,340)"/>
    <wire from="(370,60)" to="(370,70)"/>
    <wire from="(300,90)" to="(300,110)"/>
    <wire from="(310,260)" to="(310,280)"/>
    <wire from="(260,310)" to="(260,330)"/>
    <wire from="(280,310)" to="(280,330)"/>
    <wire from="(390,60)" to="(390,80)"/>
    <wire from="(330,320)" to="(330,340)"/>
    <wire from="(210,320)" to="(210,340)"/>
    <wire from="(410,60)" to="(410,90)"/>
    <wire from="(310,80)" to="(310,110)"/>
    <wire from="(310,140)" to="(310,170)"/>
    <wire from="(300,250)" to="(300,280)"/>
    <wire from="(330,220)" to="(330,250)"/>
    <wire from="(330,70)" to="(370,70)"/>
    <wire from="(380,200)" to="(380,290)"/>
    <wire from="(280,230)" to="(310,230)"/>
    <wire from="(290,240)" to="(320,240)"/>
    <wire from="(300,250)" to="(330,250)"/>
    <wire from="(310,260)" to="(340,260)"/>
    <wire from="(320,70)" to="(320,110)"/>
    <wire from="(290,240)" to="(290,280)"/>
    <wire from="(430,60)" to="(430,100)"/>
    <wire from="(370,200)" to="(380,200)"/>
    <wire from="(280,230)" to="(280,280)"/>
    <wire from="(330,140)" to="(330,190)"/>
    <wire from="(350,140)" to="(350,190)"/>
    <wire from="(220,100)" to="(290,100)"/>
    <wire from="(360,100)" to="(430,100)"/>
    <comp lib="0" loc="(210,340)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S4"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(280,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp loc="(370,200)" name="ACARREOS"/>
    <comp loc="(320,290)" name="SALIDAS"/>
    <comp lib="0" loc="(220,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(330,340)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(370,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(410,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(240,340)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(300,340)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(260,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(270,340)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(390,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(430,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(390,200)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C0"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(240,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp loc="(290,110)" name="PG"/>
  </circuit>
  <circuit name="PG">
    <a name="circuit" val="PG"/>
    <a name="clabel" val="PROP-GEN"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(410,100)" to="(410,170)"/>
    <wire from="(390,140)" to="(390,210)"/>
    <wire from="(250,130)" to="(250,200)"/>
    <wire from="(310,190)" to="(490,190)"/>
    <wire from="(290,120)" to="(470,120)"/>
    <wire from="(270,180)" to="(450,180)"/>
    <wire from="(310,190)" to="(310,200)"/>
    <wire from="(170,150)" to="(350,150)"/>
    <wire from="(250,130)" to="(430,130)"/>
    <wire from="(230,170)" to="(410,170)"/>
    <wire from="(210,140)" to="(390,140)"/>
    <wire from="(190,160)" to="(370,160)"/>
    <wire from="(260,240)" to="(260,260)"/>
    <wire from="(300,240)" to="(300,260)"/>
    <wire from="(270,180)" to="(270,200)"/>
    <wire from="(290,100)" to="(290,120)"/>
    <wire from="(360,240)" to="(360,260)"/>
    <wire from="(400,240)" to="(400,260)"/>
    <wire from="(440,240)" to="(440,260)"/>
    <wire from="(490,190)" to="(490,210)"/>
    <wire from="(480,240)" to="(480,260)"/>
    <wire from="(290,120)" to="(290,200)"/>
    <wire from="(180,240)" to="(180,260)"/>
    <wire from="(430,130)" to="(430,210)"/>
    <wire from="(450,100)" to="(450,180)"/>
    <wire from="(220,240)" to="(220,260)"/>
    <wire from="(450,180)" to="(450,210)"/>
    <wire from="(230,170)" to="(230,200)"/>
    <wire from="(250,100)" to="(250,130)"/>
    <wire from="(470,120)" to="(470,210)"/>
    <wire from="(490,100)" to="(490,190)"/>
    <wire from="(190,160)" to="(190,200)"/>
    <wire from="(210,100)" to="(210,140)"/>
    <wire from="(410,170)" to="(410,210)"/>
    <wire from="(170,150)" to="(170,200)"/>
    <wire from="(170,100)" to="(170,150)"/>
    <wire from="(370,160)" to="(370,210)"/>
    <wire from="(350,150)" to="(350,210)"/>
    <wire from="(370,100)" to="(370,160)"/>
    <wire from="(210,140)" to="(210,200)"/>
    <comp lib="1" loc="(180,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(220,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(260,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(400,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(250,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(410,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(360,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(300,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(490,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(440,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(300,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(170,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(370,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(180,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(360,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(220,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(290,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(210,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(480,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(400,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(450,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(480,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(260,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(440,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
  </circuit>
  <circuit name="ACARREOS">
    <a name="circuit" val="ACARREOS"/>
    <a name="clabel" val="ACARREOS"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(390,180)" to="(450,180)"/>
    <wire from="(190,210)" to="(310,210)"/>
    <wire from="(450,330)" to="(450,340)"/>
    <wire from="(310,310)" to="(310,320)"/>
    <wire from="(420,160)" to="(540,160)"/>
    <wire from="(310,190)" to="(310,210)"/>
    <wire from="(350,310)" to="(350,330)"/>
    <wire from="(500,260)" to="(500,280)"/>
    <wire from="(570,370)" to="(570,400)"/>
    <wire from="(280,320)" to="(280,350)"/>
    <wire from="(390,150)" to="(390,180)"/>
    <wire from="(560,320)" to="(560,340)"/>
    <wire from="(440,190)" to="(440,280)"/>
    <wire from="(250,250)" to="(250,280)"/>
    <wire from="(480,190)" to="(480,280)"/>
    <wire from="(290,320)" to="(310,320)"/>
    <wire from="(310,150)" to="(310,190)"/>
    <wire from="(540,160)" to="(620,160)"/>
    <wire from="(410,170)" to="(410,230)"/>
    <wire from="(580,270)" to="(580,280)"/>
    <wire from="(580,270)" to="(630,270)"/>
    <wire from="(250,250)" to="(310,250)"/>
    <wire from="(240,200)" to="(300,200)"/>
    <wire from="(400,330)" to="(450,330)"/>
    <wire from="(320,260)" to="(500,260)"/>
    <wire from="(310,340)" to="(430,340)"/>
    <wire from="(480,330)" to="(480,340)"/>
    <wire from="(460,270)" to="(460,280)"/>
    <wire from="(260,310)" to="(260,320)"/>
    <wire from="(630,270)" to="(630,340)"/>
    <wire from="(290,380)" to="(290,400)"/>
    <wire from="(470,320)" to="(470,340)"/>
    <wire from="(240,200)" to="(240,280)"/>
    <wire from="(360,250)" to="(360,280)"/>
    <wire from="(300,200)" to="(340,200)"/>
    <wire from="(520,180)" to="(560,180)"/>
    <wire from="(510,150)" to="(510,250)"/>
    <wire from="(530,170)" to="(530,280)"/>
    <wire from="(590,150)" to="(590,260)"/>
    <wire from="(530,320)" to="(560,320)"/>
    <wire from="(270,240)" to="(270,280)"/>
    <wire from="(390,240)" to="(390,280)"/>
    <wire from="(360,250)" to="(510,250)"/>
    <wire from="(630,150)" to="(630,270)"/>
    <wire from="(530,170)" to="(600,170)"/>
    <wire from="(310,190)" to="(380,190)"/>
    <wire from="(200,220)" to="(390,220)"/>
    <wire from="(380,190)" to="(440,190)"/>
    <wire from="(530,310)" to="(530,320)"/>
    <wire from="(620,160)" to="(670,160)"/>
    <wire from="(280,270)" to="(460,270)"/>
    <wire from="(450,310)" to="(450,320)"/>
    <wire from="(490,310)" to="(490,320)"/>
    <wire from="(410,170)" to="(530,170)"/>
    <wire from="(270,330)" to="(270,350)"/>
    <wire from="(320,260)" to="(320,280)"/>
    <wire from="(410,150)" to="(410,170)"/>
    <wire from="(460,320)" to="(460,340)"/>
    <wire from="(570,310)" to="(570,340)"/>
    <wire from="(610,310)" to="(610,340)"/>
    <wire from="(310,250)" to="(310,280)"/>
    <wire from="(580,320)" to="(580,340)"/>
    <wire from="(440,190)" to="(480,190)"/>
    <wire from="(380,190)" to="(380,280)"/>
    <wire from="(450,180)" to="(450,280)"/>
    <wire from="(600,170)" to="(600,280)"/>
    <wire from="(470,320)" to="(490,320)"/>
    <wire from="(310,210)" to="(310,250)"/>
    <wire from="(210,230)" to="(210,280)"/>
    <wire from="(410,230)" to="(410,280)"/>
    <wire from="(430,150)" to="(430,340)"/>
    <wire from="(200,330)" to="(270,330)"/>
    <wire from="(210,230)" to="(410,230)"/>
    <wire from="(220,160)" to="(420,160)"/>
    <wire from="(450,180)" to="(520,180)"/>
    <wire from="(580,320)" to="(590,320)"/>
    <wire from="(200,220)" to="(200,280)"/>
    <wire from="(190,210)" to="(190,280)"/>
    <wire from="(180,200)" to="(240,200)"/>
    <wire from="(300,330)" to="(350,330)"/>
    <wire from="(270,240)" to="(390,240)"/>
    <wire from="(310,340)" to="(310,350)"/>
    <wire from="(280,270)" to="(280,280)"/>
    <wire from="(460,270)" to="(580,270)"/>
    <wire from="(300,330)" to="(300,350)"/>
    <wire from="(400,310)" to="(400,330)"/>
    <wire from="(390,220)" to="(390,240)"/>
    <wire from="(180,200)" to="(180,280)"/>
    <wire from="(300,200)" to="(300,280)"/>
    <wire from="(340,200)" to="(340,280)"/>
    <wire from="(620,370)" to="(620,400)"/>
    <wire from="(200,310)" to="(200,330)"/>
    <wire from="(510,250)" to="(510,330)"/>
    <wire from="(460,370)" to="(460,400)"/>
    <wire from="(290,320)" to="(290,350)"/>
    <wire from="(500,260)" to="(590,260)"/>
    <wire from="(520,180)" to="(520,280)"/>
    <wire from="(480,330)" to="(510,330)"/>
    <wire from="(260,320)" to="(280,320)"/>
    <wire from="(560,180)" to="(560,280)"/>
    <wire from="(390,180)" to="(390,220)"/>
    <wire from="(450,320)" to="(460,320)"/>
    <wire from="(540,160)" to="(540,280)"/>
    <wire from="(620,160)" to="(620,280)"/>
    <wire from="(240,150)" to="(240,200)"/>
    <wire from="(590,260)" to="(590,320)"/>
    <wire from="(220,160)" to="(220,280)"/>
    <wire from="(420,160)" to="(420,280)"/>
    <comp lib="1" loc="(260,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="4"/>
    </comp>
    <comp lib="0" loc="(310,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(590,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(410,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(430,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(570,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(450,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="0" loc="(630,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(390,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(290,380)" name="OR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
    </comp>
    <comp lib="0" loc="(240,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(530,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="0" loc="(290,400)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C4"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(570,370)" name="OR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="0" loc="(620,400)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(670,160)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C0"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(460,400)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(510,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="G2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(490,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(200,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
    </comp>
    <comp lib="1" loc="(620,370)" name="OR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(310,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="1" loc="(610,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(570,400)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(400,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="4"/>
    </comp>
    <comp lib="1" loc="(460,370)" name="OR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
    </comp>
    <comp lib="1" loc="(350,310)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
  </circuit>
  <circuit name="SALIDAS">
    <a name="circuit" val="SALIDAS"/>
    <a name="clabel" val="SUMAS"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(290,100)" to="(290,200)"/>
    <wire from="(380,100)" to="(380,170)"/>
    <wire from="(190,160)" to="(350,160)"/>
    <wire from="(170,100)" to="(170,200)"/>
    <wire from="(250,100)" to="(250,200)"/>
    <wire from="(210,100)" to="(210,200)"/>
    <wire from="(230,170)" to="(380,170)"/>
    <wire from="(190,160)" to="(190,200)"/>
    <wire from="(140,150)" to="(140,260)"/>
    <wire from="(310,190)" to="(310,200)"/>
    <wire from="(140,150)" to="(320,150)"/>
    <wire from="(260,240)" to="(260,260)"/>
    <wire from="(300,240)" to="(300,260)"/>
    <wire from="(270,180)" to="(270,200)"/>
    <wire from="(270,180)" to="(410,180)"/>
    <wire from="(180,240)" to="(180,260)"/>
    <wire from="(410,100)" to="(410,180)"/>
    <wire from="(320,100)" to="(320,150)"/>
    <wire from="(220,240)" to="(220,260)"/>
    <wire from="(350,100)" to="(350,160)"/>
    <wire from="(310,190)" to="(440,190)"/>
    <wire from="(230,170)" to="(230,200)"/>
    <comp lib="1" loc="(300,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(300,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(220,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(180,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(250,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(140,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S4"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(380,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(210,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(320,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C4"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(220,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(290,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(170,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="P3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(440,190)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(260,260)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(180,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(260,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(350,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(410,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C1"/>
      <a name="labelloc" val="north"/>
    </comp>
  </circuit>
</project>
